<?php 
/**
 * @author luu van trung
 * @category Candy Library
 * @package Candy Workflow
 * 
 */
class CandyWF_Activity_Iterator implements IteratorIterator {
	private $_pos;
	private $_data;
	public function __construct($ativities = null) {
		$this->_pos = 0;
		$this->_data = $ativities;
	}
	
	public function load() {
		//plugin call load
	}
	
	public function rewind(){
		
	}
	
	public function current(){
		
	}
	
	public function key(){
		if(!empty($ativities[$this->_pos]->_key)) 
			return $ativities[$this->_pos]->_key;
		return false;
	}
	
	public function next(){
		
	}
	
	public function valid(){
		
	}
	
}

?>